//引入vue
import Vue from "vue";
//引入App
import App from "./App.vue";

Vue.config.productionTip = false;

// const Demo = Vue.extend({});
// const d = new Demo();
// Vue.prototype.x = d;

//创建vm
new Vue({
    el: "#app",
    render: (h) => h(App),
    beforeCreate() {
        //安装全局事件总线
        Vue.prototype.$bus = this;
    },
});
